package com.khotyn.heresy.bean;

import java.util.Date;

import com.khotyn.heresy.util.ValidateCodeGenerator;


/**
 * 用户Bean(登录时使用)
 * @author 黄挺
 *
 */
public class UserLogin {
	private int userID;			//用户ID
	private String email;		//用户的Email
	private String password;	//用户的密码
	private Date registerTime;	//注册时间
	private String activeUrl;	//用户帐号激活链接
	private String validateCode;	//用户输入的验证码
	
	/**
	 * @return the validateCode
	 */
	public String getValidateCode() {
		return validateCode;
	}
	/**
	 * @param validateCode the validateCode to set
	 */
	public void setValidateCode(String validateCode) {
		this.validateCode = validateCode;
	}
	/**
	 * @return the registerTime
	 */
	public Date getRegisterTime() {
		return registerTime;
	}
	/**
	 * @param registerTime the registerTime to set
	 */
	public void setRegisterTime(Date registerTime) {
		this.registerTime = registerTime;
	}
	/**
	 * @return the code
	 */
	public ValidateCodeGenerator getCode() {
		return code;
	}
	/**
	 * @param code the code to set
	 */
	public void setCode(ValidateCodeGenerator code) {
		this.code = code;
	}
	private ValidateCodeGenerator code;//注册码
	
	/**
	 * 获取用户Email
	 * @return 用户Email
	 */
	public String getEmail() {
		return email;
	}
	/**
	 * 设置用户Email
	 * @param email 要设置的用户Email
	 */
	public void setEmail(String email) {
		this.email = email;
	}
	/**
	 * 获取用户密码
	 * @return 用户密码
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * 设置用户密码
	 * @param password 要设置的用户密码
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	/**
	 * @param userID the userID to set
	 */
	public void setUserID(int userID) {
		this.userID = userID;
	}
	/**
	 * @return the userID
	 */
	public int getUserID() {
		return userID;
	}
	/**
	 * @param activeUrl the activeUrl to set
	 */
	public void setActiveUrl(String activeUrl) {
		this.activeUrl = activeUrl;
	}
	/**
	 * @return the activeUrl
	 */
	public String getActiveUrl() {
		return activeUrl;
	}
}
